package trlygjj.tanruiliyigenjinjin.query;

import com.alibaba.druid.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class GradeQueryObject extends QueryObject{

    private String gradeName;
   private String headTeacher;

    public String getGrade(){
        return StringUtils.isEmpty(gradeName) ? null : gradeName;
    }
    public String getHeadTeacher(){
        return StringUtils.isEmpty(headTeacher) ? null : headTeacher;
    }
}
